/*
 * GL_CALLBACKS.h
 *
 *	A giant bloated macro for ease of importing a metric crapton of OpenGL stuff
 *
 *  Created on: May 3, 2013
 *      Author: zapmunk
 */
#define _GL_CALLBACKS \
init(glGetError, GLenum, ());\
init(glGetString, const GLubyte*, (GLenum name));\
init(glMatrixMode, void, (GLenum mode));\
init(glLoadIdentity, void, ());\
init(glOrtho, void, (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble znear, GLdouble zfar));\
init(glViewport, void, (GLint x, GLint y, GLsizei width, GLsizei height));\
init(glEnable, void, (GLenum mode));\
init(glDisable, void, (GLenum mode));\
\
init(glBlendFunc, void, (GLenum sfactor, GLenum dfactor));\
\
init(glGenTextures, void, (GLsizei num, GLuint* textures));\
init(glDeleteTextures, void, (GLsizei num, GLuint* textures));\
init(glTexParameteri, void, (GLenum target, GLenum pname, GLint param));\
init(glTexImage2D, void, (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data));\
\
init(glBindTexture, void, (GLenum target, GLuint texture));\
init(glTexCoord2f, void, (GLfloat x, GLfloat y));\
\
init(glClearColor, void, (GLclampf r, GLclampf g, GLclampf b, GLclampf a));\
init(glClear, void, (GLbitfield mask));\
\
init(glBegin, void, (GLenum mode));\
init(glEnd, void, ());\
\
init(glColor3f, void, (GLfloat red, GLfloat green, GLfloat blue));\
init(glColor4f, void, (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha));\
init(glVertex2i, void, (GLint x, GLint y));\
init(glVertex2f, void, (GLfloat x, GLfloat y));\
\
init(glRotatef, void, (GLfloat angle, GLfloat x, GLfloat y, GLfloat z));\
init(glTranslatef, void, (GLfloat x, GLfloat y, GLfloat z));\
init(glPushMatrix, void, ());\
init(glPopMatrix, void, ());\
\
//EMPTY LINE
